﻿// OpenApiSettings.cs
// Copyright (c) 2022 chenchao
// Email:cc@on8.top

using Microsoft.OpenApi.Models;
using System;
using System.Collections.Generic;
using System.Text;

namespace OnWork.Tools.Swagger
{
    /// <summary>
    /// 开放接口信息
    /// </summary>
    public class OpenApiSettings : OpenApiInfo
    {

        public OpenApiSettings()
        {
            Version = "1.0.0.0";
            Visible = true;
            Order = 0;
        }
        /// <summary>
        /// 分组名称
        /// </summary>
        public string Group { get; set; }

        /// <summary>
        /// 排序
        /// </summary>
        public int? Order { get; set; }

        /// <summary>
        /// 是否可见
        /// </summary>
        public bool? Visible { get; set; }
    }
}
